package com.windersgroup.querynumber.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.windersgroup.querynumber.entity.UserIpMapping;

@Mapper
public interface UserIpMappingMapper {

	List<UserIpMapping> findAll();
	
	/**
	 * 通过ip地址查询人员姓名
	 * @param ipStr
	 * @return
	 */
	List<UserIpMapping> findUserByIp(@Param("ipStr") String ipStr);
	
}
